Skip to content

ci: pin github actions hashes#38

Merged
mbaraniak-exodus merged 1 commit into
masterfrom
mbaraniak/github-action-pinning
Apr 28, 2026
Merged

ci: pin github actions hashes#38
mbaraniak-exodus merged 1 commit into
masterfrom
mbaraniak/github-action-pinning

Conversation

@mbaraniak-exodus

Copy link
Copy Markdown
Contributor

📝 Summary

This PR pins third-party GitHub Actions to full commit SHAs.
Internal ExodusMovement/... actions are out of scope for this campaign and are intentionally not locked in these changes.
This removes floating action references and reduces supply-chain risk by ensuring workflow execution uses reviewed, immutable upstream revisions instead of tags that can be moved.

@ale-exo ale-exo left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

  • https://github.com/actions/checkout/releases/tag/v3.6.0
  • https://github.com/actions/setup-node/releases/tag/v4.4.0
  • https://github.com/github/codeql-action/releases/tag/v2.28.1

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR reduces GitHub Actions supply-chain risk by replacing floating third-party action references (e.g., @v3, @v4) with pinned full commit SHAs, while leaving internal ExodusMovement/... actions intentionally unchanged (none present in these workflows).

Changes:

  • Pin actions/checkout and actions/setup-node to full commit SHAs in release and checks workflows.
  • Pin github/codeql-action steps (init, autobuild, analyze) to a full commit SHA in the CodeQL workflow.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
.github/workflows/release.yml Pins actions/checkout and actions/setup-node to immutable SHAs for the release job.
.github/workflows/codeql.yml Pins actions/checkout and github/codeql-action/* to immutable SHAs for CodeQL scanning.
.github/workflows/checks.yml Pins actions/checkout and actions/setup-node to immutable SHAs for CI checks.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mbaraniak-exodus mbaraniak-exodus merged commit bfaaf85 into master Apr 28, 2026
5 checks passed
@mbaraniak-exodus mbaraniak-exodus deleted the mbaraniak/github-action-pinning branch April 28, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants